package solutions.ferpa.ztest.intf;

import br.com.telescope.t2.ModuleNavigator;
import br.com.telescope.t2.ServiceNavigation;

public class ModSolict extends ModuleNavigator {
    
    public ModSolict() {
        
        setGlobalName("ZTEST.MOD_SOLICT");
        setInitialService(CadSolicitacaoEnsaio.class, "QUERY");
        
        addNavigation((new ServiceNavigation())
                .id("20494406")
                .name("MASTER")
                .label("Solicitação de ensaio")
                .destination(CadSolicitacaoEnsaio.class)
                .feature("VIEW")
                .parameterName("A_ID")
                );
        addNavigation((new ServiceNavigation())
                .id("20494416")
                .name("ENSAIO_SOLICT")
                .label("Ensaios (testes)")
                .destination(CadEnsaioSolicitacao.class)
                .feature("LIST")
                .parameterName("P_ID_SOLICITACAO_ENSAIO")
                .subModule(new ModEnsaioSolic())
                );
    }
}
